vaadin-list-mixin
⚠️ Starting from Vaadin 20, the source code and issues for this component mixin are migrated to the vaadin/web-components
monorepository.
This repository contains the source code and releases of @vaadin/vaadin-list-mixin
for the Vaadin versions 10 to 19.
vaadin-list-mixin
is a mixin for nav
elements, facilitating navigation and selection of childNodes.
Running tests in browser
-
Fork the vaadin-list-mixin
repository and clone it locally.
-
Make sure you have npm and Bower installed.
-
When in the vaadin-list-mixin
directory, run npm install
and then bower install
to install dependencies.
-
Make sure you have polymer-cli installed globally: npm i -g polymer-cli
.
-
Run npm start
.
-
Navigate to http://127.0.0.1:3000/components/vaadin-list-mixin/test/index.html
Running tests from the command line
-
Install web-component-tester: npm install -g web-component-tester
-
When in the vaadin-list-mixin
directory, run wct
or npm test
Following the coding style
We are using ESLint for linting JavaScript code. You can check if your code is following our standards by running npm run lint
, which will automatically lint all .js
files as well as JavaScript snippets inside .html
files.
Contributing
To contribute to the component, please read the guideline first.
License
Apache License 2.0